package com.sren.boot.annotation;

import com.sren.boot.configuration.HelloWorldConfiguration;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * HelloWorld {@link org.springframework.context.annotation.ImportSelector} 实现
 * @author: renshuai
 * @date: 2019/11/23 上午11:44
 * @Description:
 */
public class HelloWorldImportSelector implements ImportSelector {
	@Override
	public String[] selectImports(AnnotationMetadata importingClassMetadata) {
		return new String[]{HelloWorldConfiguration.class.getName()};
	}
}
